Skip to content

feat: support claude-opus-4.6 new thinking mode adaptive#1842

Merged
yuzisun merged 1 commit intoenvoyproxy:mainfrom
xiaolin593:adaptive
Feb 7, 2026
Merged

feat: support claude-opus-4.6 new thinking mode adaptive#1842
yuzisun merged 1 commit intoenvoyproxy:mainfrom
xiaolin593:adaptive

Conversation

@xiaolin593
Copy link
Contributor

@xiaolin593 xiaolin593 commented Feb 6, 2026

Description

Claude Opus 4.6 has new value adaptive for thinking [1] type

  1. https://platform.claude.com/docs/en/about-claude/models/whats-new-claude-4-6#adaptive-thinking-mode

Signed-off-by: Xiaolin Lin <xlin158@bloomberg.net>
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.48%. Comparing base (865632d) to head (5f5369c).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
internal/apischema/openai/openai.go 71.42% 1 Missing and 1 partial ⚠️

❌ Your patch status has failed because the patch coverage (71.42%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1842      +/-   ##
==========================================
+ Coverage   83.35%   83.48%   +0.12%     
==========================================
  Files         123      123              
  Lines       16328    16335       +7     
==========================================
+ Hits        13611    13637      +26     
+ Misses       1840     1818      -22     
- Partials      877      880       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@xiaolin593 xiaolin593 marked this pull request as ready for review February 6, 2026 23:23
@xiaolin593 xiaolin593 requested a review from a team as a code owner February 6, 2026 23:23
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Feb 6, 2026
@yuzisun yuzisun merged commit d851c0c into envoyproxy:main Feb 7, 2026
35 of 36 checks passed
changminbark pushed a commit to changminbark/ai-gateway that referenced this pull request Feb 9, 2026
…1842)

**Description**

Claude Opus 4.6 has new value `adaptive` for thinking [1] type 

1.
https://platform.claude.com/docs/en/about-claude/models/whats-new-claude-4-6#adaptive-thinking-mode

Signed-off-by: Xiaolin Lin <xlin158@bloomberg.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants